#pragma once

class MiniMap
{
	Vertex3FRHWT m_vertices[4];
	IDirect3DTexture9* m_texture;
	float m_factor;
	Vertex2F m_relation;
	ui32* m_textureData;
public:
	MiniMap(std::string szName, Vertex2F position, Vertex2F size);
	void InitTexture(std::string szName);
	void Draw();
	void SetScale(float factor);
	void SetRelation(Vertex2F relation);
	void BeforeReset();
	void OnReset();
	void unload();
};